package exsun.jt808.data.jt809_data.alarm.slave;

import exsun.jt808.data.jt809_data.BasicVehicleInfo;
import exsun.jt808.data.jt809_data.ReceiveEntityBase;

import java.util.Date;

/**
 * 实时交换报警信息消息
 */
public class DownWarnMsgExgInform extends ReceiveEntityBase {
    /**
     * 车辆基本信息
     */
    private BasicVehicleInfo basicVehicleInfo;

    /**
     * 报警信息来源，定义如下： 0x01：车载终端 0x02：企业监控平台 0x03：政府监管平台 0x09：其他
     */
    private int warnSrc;
    /**
     * 报警类型
     */
    private int warnType;
    /**
     * 报警时间
     */
    private Date warnTime;
    /**
     * 报警描述，信息提示
     */
    private String warnContent;

    public BasicVehicleInfo getBasicVehicleInfo() {
        return basicVehicleInfo;
    }

    public void setBasicVehicleInfo(BasicVehicleInfo basicVehicleInfo) {
        this.basicVehicleInfo = basicVehicleInfo;
    }

    public int getWarnSrc() {
        return warnSrc;
    }

    public void setWarnSrc(int warnSrc) {
        this.warnSrc = warnSrc;
    }

    public int getWarnType() {
        return warnType;
    }

    public void setWarnType(int warnType) {
        this.warnType = warnType;
    }

    public Date getWarnTime() {
        return warnTime;
    }

    public void setWarnTime(Date warnTime) {
        this.warnTime = warnTime;
    }

    public String getWarnContent() {
        return warnContent;
    }

    public void setWarnContent(String warnContent) {
        this.warnContent = warnContent;
    }
}
